import { Component, OnInit, Input } from '@angular/core';
// import { CATALOGUES } from './model/catalogues';
// import { CATALOGUE } from './model/catalogues-model';
import { MATHS } from './model/lists';
import { Catalogue } from '../book-catalogue-component/model/catalogues-model';
import { CATALOGUES } from '../book-catalogue-component/model/catalogues';
import { Bookmodel } from './model/booklist.model';

@Component({
    selector: 'booklist',
    templateUrl: 'book-list.component.html',
    styleUrls: ['book-list.component.scss']
})
export class bookListComponent implements OnInit {
    // @Input()
    // catalogue:Catalogue;
    // bookcatalogues：Catalogue;
    books:Bookmodel[];
    constructor() {
        // console.log(this.booklists);
        
     }

    ngOnInit() { this.books = MATHS;console.log(this.books);}
}